import { defHttp } from '/@/utils/http/axios';
import { JulyDictItemListGetResultModel } from '/@/model/system/julyDictItemModel';

enum Api {
  GET_JULY_DICT_ITEMLIST_BY_TYPE = '/admin/julydictitem/getJulyDictItemListByType',
}

/**
 * @description: Get sample list value
 */

export const getJulyDictItemListByTypeApi = (params: {}) =>
  defHttp.get<JulyDictItemListGetResultModel>(
    { url: Api.GET_JULY_DICT_ITEMLIST_BY_TYPE, params },
    { errorMessageMode: 'message' },
  );
